<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>
        .parent{
            margin: 400px ;
        }
        .one{
          
            float: left;
            width: 200px;
            height: 100px;
            background-color: red;
            border-right: 1px dotted lightgray;
           
        }
        .two{
            position: relative;
            float: left;
            width: 70px;
            height: 100px;
            background-color: blue;
           

        }
        .two::after{
            content: "";
            position: absolute;
            top: -10px;
            left: -10px;
            width: 15px;
            height: 15px;
            border-radius: 50%;
            background-color: #fff;
        }
        .two::before{
            content: "";
            position: absolute;
            bottom: -10px;
            left: -10px;
            width: 15px;
            height: 15px;
            border-radius: 50%;
            background-color: #fff;
        }
    </style>
</head>
<body>
    <div class="parent">
    <div class="one"></div>
    <div class="two"></div>
    </div>
</body>
</html>